﻿using jSLCore.Client.Presentation.BaseControl.Selection;

namespace $rootnamespace$
{
    public partial class $safeitemrootname$
    {
        public $safeitemrootname$()
        {
            InitializeComponent();
        }

        public override ISelectableGrid GetSelectableGrid()
        {
            return grid;
        }

        public override bool IsOkVisibleWhenNotSelectable
        {
            get { return false; }
        }

        public override object CancelContentWhenNotSelectable
        {
            get { return "Close"; }
        }

        public override bool IsStandartOkCancelEnabledWhenNotSelectable
        {
            get { return true; }
        }

        public override void LoadInitialData()
        {
            //Load initial data
        }
    }
}
